import request from "@/utils/request";

//售货机类型列表(搜索)
export const getVendintype = (data) => request({
  method: 'get',
  url: "/api/vm-service/vmType/search",
  data
})

// 新增售货机类型
export const postVendintype = (data) => request({
  method: 'post',
  url: "/api/vm-service/vmType",
  data
})

//售货机类型修改
export const putVendintype = (data) => request({
  method: 'put',
  url: `/api/vm-service/vmType/${data.typeId}`,
  data
})